package com.example.demo.controller;
import java.math.BigDecimal;
import java.sql.Date;
//import java.util.Date;


public class Dept {
    private Integer deptno;

    private String dname;

    private String loc;

    public void setDeptno(Integer deptno){this.deptno = deptno;}
    public Integer getDeptno(){return this.deptno;}

    public void setDname(String dname){this.dname = dname;}
    public String getDname(){return this.dname;}

    public void setLoc(String loc){this.loc = loc;}
    public String getLoc(){return this.loc;}
    public Dept() {
        super();
        // TODO Auto-generated constructor stub
    }
    public Dept(Integer deptno, String dname,String loc) {
        super();
        this.deptno = deptno;
        this.dname =dname;
        this.loc = loc;
    ;
    }

    @Override
    public String toString() {
        return "t1 [ deptno=" + deptno + ", dname=" + dname + ", loc=" + loc + "]";
    }


}
